
.header {
    position: relative;
    background: rgb(51, 51, 51);
    color: #fff;
}
.center-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.header .center-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.logo {
    background-repeat: no-repeat;
    background-size: contain;
}

.nav-list {
    display: flex;
}
.nav-list .nav-item {
    /*display: inline-block;
    vertical-align: middle;*/
    text-decoration: none;
    padding: 0 20px;
    color: #fff;
    line-height: 74px;
    font-size: 18px;
}

.nav-list .nav-item:hover {
    background-color: #188eee;
}

@media (min-width: 569px) {
    .logo {
        width: 277px;
        height: 64px;
        background-image: url(http://coding.imweb.io/img/logo-white.png);
    }
}

@media (max-width: 1024px) {
    .logo {
        width: 158px;
        height: 36px;
    }
    .nav-list .nav-item {
        font-size: 14px;
        line-height: 44px;
    }
}

@media (max-width: 568px) {
    .header .center-inner {
        padding: 0;
    }
    .logo {
        width: 54px;
        height: 44px;
        padding: 4px 10px;
        background-image: url(http://coding.imweb.io/img/logo.png);
        background-origin: content-box;
    }
    .icon-nav {
        display: block;
        width: 44px;
        height: 44px;
        position: relative;
        cursor: pointer;
    }
    .icon-nav::before {
        content: "";
        width: 20px;
        height: 18px;
        border: 2px solid #ccc;
        border-width: 2px 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-sizing: border-box;
    }
    .icon-nav::after {
        content: "";
        width: 20px;
        height: 2px;
        background: #ccc;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .nav-list {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 44px;
        background: rgba(0, 0, 0, .7);
        flex-direction: column;
    }
    .nav-list .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
    .nav-list .nav-item:last-child {
        border-bottom: 0;
    }
    .nav-bar:hover .nav-list {
        display: flex;
    }
}